package com.hmall.api.client;


import com.hmall.api.config.DefaultFeginConfig;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.*;

@FeignClient(value = "trade-service", configuration = DefaultFeginConfig.class,path = "/orders")
public interface OrderClient {


    @PutMapping("/{orderId}")
    void markOrderPaySuccess(@PathVariable("orderId") Long orderId);




}
